import http from '../../utils/request'

// 租约列表
export const getContractList = params => {
  return http.request({
    url: `/house/tenant/house/TenantContractList`,
    method: 'get',
    params
  })
}

// 租约详情
export const getInfo = params => {
  return http.request({
    url: `/house/tHousecontract/info`,
    method: 'get',
    params
  })
}

// 租约详情V2
export const getInfoV2 = params => {
  return http.request({
    url: `/house/tHousecontract/infoTwo`,
    method: 'get',
    params
  })
}

// 获取管家信息
export const GethousekeeperListV2 = params => {
  return http.request({
    url: `/house/tenant/GethousekeeperList`,
    method: 'get',
    params
  })
}
